package com.zhang.springcloud.app1;

import com.zhang.springcloud.feignproxy.EnableFeignProxies;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.oas.annotations.EnableOpenApi;

/**
 * @author zhanghaolian
 * @date 2021/5/9 15:18
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.zhang.springcloud.api.feignservice"})
@EnableOpenApi
//@EnableFeignProxies(basePackages = "com.zhang.springcloud.api.feignservice")
public class App1Application {

    public static void main(String[] args) {
        SpringApplication.run(App1Application.class, args);
    }
}
